<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=0.5,user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="format-detection" content="telephone=no, email=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <!-- 删除苹果默认的工具栏和菜单栏 -->
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <!-- 设置苹果工具栏颜色 -->
    <meta name="format-detection" content="telphone=no, email=no" />
    <!-- 忽略页面中的数字识别为电话，忽略email识别 -->
    <!-- 启用360浏览器的极速模式(webkit) -->
    <meta name="renderer" content="webkit">
    <!-- 避免IE使用兼容模式 -->
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!-- 针对手持设备优化，主要是针对一些老的不识别viewport的浏览器，比如黑莓 -->
    <meta name="HandheldFriendly" content="true">
    <!-- 微软的老式浏览器 -->
    <meta name="MobileOptimized" content="320">
    <!-- uc强制竖屏 -->
    <meta name="screen-orientation" content="portrait">
    <!-- QQ强制竖屏 -->
    <meta name="x5-orientation" content="portrait">
    <!-- UC强制全屏 -->
    <meta name="full-screen" content="yes">
    <!-- QQ强制全屏 -->
    <meta name="x5-fullscreen" content="true">
    <!-- UC应用模式 -->
    <meta name="browsermode" content="application">
    <!-- QQ应用模式 -->
    <meta name="x5-page-mode" content="app">
    <!-- windows phone 点击无高光 -->
    <meta name="msapplication-tap-highlight" content="no">
    <title>财务管理</title>
    <link rel="stylesheet" href="css/reset.css">
    <link rel="stylesheet" href="css/main.css">
    <link rel="stylesheet" href="css/index.css">
    <link rel="stylesheet" href="css/LCalendar.css">
    <link rel="stylesheet" href="css/yd_rl.css" />
</head>
<body>
    <!-- 公共头部 -->
    <div class="g2_head-bg">
        <!-- 返回上一层 -->
        <p class="g2_head_goback-bg fl">
            <a href="工单录入.html">
                <img src="images/xky_icon0-1.png" class="g2_head_goback_icon fl" alt="">
                <span class="g2_head_goback_del fl">返回</span>
            </a>
        </p>
        <p class="ym-tit fl">垫资审批</p>
        <span class="g2_head_goback_del fr gdlb_sx">筛选</span>
        <div class="cl"></div>
    </div>
    <div class="g2_head-bg2"></div>

    <!-- 垫资审批列表 -->
    <form action="">
        <ul class="cw_qkgl-bg" id="gdlr1">
            <li class="cw_qkgl">
                <p class="cw_qkkhname fl">高群翔</p>
                <p class="cw_qkkhzt bcolor1 fl">通过</p>
                <p class="cw_qkrname fr">
                    <span>请款人 :</span>
                    <span>小白</span>
                </p>
                <p class="cw_qktit fl">青岛十日游</p>
                <p class="cw_qkdate fl">
                    <span>请款日期 :</span>
                    <span>2017-10-19 10:32:18</span>
                </p>
                <p class="cw_qkje fr">
                    <span>￥</span>
                    <span>1,000.00</span>
                </p>
                <div class="cl"></div>
            </li>
            <li class="cw_qkgl">
                <p class="cw_qkkhname fl">高群翔</p>
                <p class="cw_qkkhzt bcolor2 fl">审批</p>
                <p class="cw_qkrname fr">
                    <span>请款人 :</span>
                    <span>小白</span>
                </p>
                <p class="cw_qktit fl">青岛十日游</p>
                <p class="cw_qkdate fl">
                    <span>请款日期 :</span>
                    <span>2017-10-19 10:32:18</span>
                </p>
                <p class="cw_qkje fr">
                    <span>￥</span>
                    <span>1,000.00</span>
                </p>
                <div class="cl"></div>
            </li>
            <li class="cw_qkgl">
                <p class="cw_qkkhname fl">高群翔</p>
                <p class="cw_qkkhzt bcolor3 fl">驳回</p>
                <p class="cw_qkrname fr">
                    <span>请款人 :</span>
                    <span>小白</span>
                </p>
                <p class="cw_qktit fl">青岛十日游</p>
                <p class="cw_qkdate fl">
                    <span>请款日期 :</span>
                    <span>2017-10-19 10:32:18</span>
                </p>
                <p class="cw_qkje fr">
                    <span>￥</span>
                    <span>1,000.00</span>
                </p>
                <div class="cl"></div>
            </li>
        </ul>
        <!-- 垫资审批详情 -->
        <div class="khqkxq-bg" id="gdlr3">
            <!-- 工单信息（成交单）详情 -->
            <p class="gdx2_tit">成交单信息</p>
            <ul class="grzx_xq-bg">
                <li class="grzx_xq_list">
                    <p class="grzx_xgname fl">线路名称</p>
                    <p class="grzx_xgname_del fr">青岛十日游</p>
        
                    <div class="cl"></div>
                </li>
                <li class="grzx_xq_list">
                    <p class="grzx_xgname fl">发团日期</p>
                    <p class="grzx_xgname_del fr">2017.10.31</p>
        
                    <div class="cl"></div>
                </li>
                <li class="grzx_xq_list">
                    <p class="grzx_xgname fl">应收款</p>
                    <p class="grzx_xgname_del fr">
                        <span>￥</span>
                        <span>2,00.00</span>
                    </p>
                    <div class="cl"></div>
                </li>
                <li class="grzx_xq_list">
                    <p class="grzx_xgname fl">应付款</p>
                    <p class="grzx_xgname_del fr">
                        <span>￥</span>
                        <span>1,00.00</span>
                    </p>
                    <div class="cl"></div>
                </li>
                <li class="grzx_xq_list">
                    <p class="grzx_xgname fl">预估毛利</p>
                    <p class="grzx_xgname_del fr">
                        <span>￥</span>
                        <span>1,00.00</span>
                    </p>
                    <div class="cl"></div>
                </li>
                <li class="grzx_xq_list">
                    <p class="grzx_xgname fl">实收款</p>
                    <p class="grzx_xgname_del fr">
                        <span>￥</span>
                        <span>2,00.00</span>
                    </p>
                    <div class="cl"></div>
                </li>
                <li class="grzx_xq_list">
                    <p class="grzx_xgname fl">实付款</p>
                    <p class="grzx_xgname_del fr">
                        <span>￥</span>
                        <span>1,00.00</span>
                    </p>
                    <div class="cl"></div>
                </li>
                <li class="grzx_xq_list">
                    <p class="grzx_xgname fl">实际毛利</p>
                    <p class="grzx_xgname_del fr">
                        <span>￥</span>
                        <span>1,00.00</span>
                    </p>
                    <div class="cl"></div>
                </li>
            </ul>
            <!-- 客户请款信息 -->
            <p class="gdx2_tit">请款信息</p>
            <ul class="grzx_xq-bg">
                <li class="grzx_xq_list">
                    <p class="grzx_xgname fl">请款人</p>
                    <p class="grzx_xgname_del grzx_xgsjhm-bg fr">小白</p>
                    <div class="cl"></div>
                </li>
                <li class="grzx_xq_list">
                    <p class="grzx_xgname fl">供应商名称</p>
                    <p class="grzx_xgname_del grzx_xgsjhm-bg fr">双龙旅行社</p>
                    <div class="cl"></div>
                </li>
                <li class="grzx_xq_list">
                    <p class="grzx_xgname fl">请款方式</p>
                    <p class="grzx_xgname_del grzx_xgsjhm-bg fr">银行卡</p>
                    <div class="cl"></div>
                </li>
                <li class="grzx_xq_list">
                    <p class="grzx_xgname fl">请款账号</p>
                    <p class="grzx_xgname_del grzx_xgsjhm-bg fr">1523658845132</p>
                    <div class="cl"></div>
                </li>
                <li class="grzx_xq_list">
                    <p class="grzx_xgname fl">上传凭证</p>
                    <p class="grzx_xgname_del grzx_xgsjhm-bg fr" style="position:relative;">
                        <input type="file" id="file" readonly="readonly" />
                        <img src="images/scpz_icon.png" class="file_icon" alt="">
                    </p>
                    <div class="cl"></div>
                </li>
                <li class="grzx_xq_list">
                    <p class="grzx_xgname fl">请款备注</p>
                    <p class="grzx_xgname_del grzx_xgsjhm-bg fr">支付宝付款</p>
                    <div class="cl"></div>
                </li>
            </ul>
            <div style="width:100%;height:18vw;"></div>
            <!-- 按钮 -->
        </div>
        <!-- 按钮 -->
        <div class="qksp_btn-bg">
            <input type="button" class="qksp_tg_btn fl" value="通 过">
            <input type="button" class="qksp_bh_btn fr" value="驳 回">
            <div class="cl"></div>
        </div>
    </form>
        <!-- 垫资审批筛选 -->
        <div class="khlr-bg" id="gdlr2">
            <ul class="grzx_xq-bg">
                <li class="grzx_xq_list">
                    <p class="khs2_tit fl">请款人</p>
                    <p class="grzx_xgname_del grzx_xgsjhm-bg fl">
                        <input type="text" placeholder="请填写姓名" class="grzx_xgsjhm" style="text-align:left;" value="">
                    </p>
                    <div class="cl"></div>
                </li>
                <li class="grzx_xq_list">
                    <p class="khs2_tit fl">请款状态</p>
                    <span class="sewv fl">
                        <span class="sewvtop">
                            <span>请选择请款状态</span>
                            <em>
                                <img src="images/xky_icon9.png">
                            </em>
                        </span>
                        <ul class="sewvbm">
                            <li>...</li>
                        </ul>
                    </span>
                    <div class="cl"></div>
                </li>
                <li class="grzx_xq_list">
                    <p class="khs2_tit fl">请款日期</p>
                    <p class="khs2_del fl" style="position:relative;">
                        <input type="text" name="start_date" id="start_date" placeholder="开始日期" readonly="readonly" style="border:1px solid #999;border-radius:4px;width:42%;left:0;top:20px;height:50px;text-align:center;"
                        />
                        <span style="position:absolute;right:46%;top:2px;color:#666;">至</span>
                        <input type="text" name="end_date" id="end_date" placeholder="结束日期" readonly="readonly" style="border:1px solid #999;border-radius:4px;width:42%;right:0;top:20px;height:50px;text-align:center;"
                        />
                    </p>
                    <div class="cl"></div>
                </li>
            </ul>
            <!-- 按钮 -->
            <input type="sibmit" class="khx2_search-btn" value="搜索" readonly="readonly">
        </div>

    <script src="js/jquery.min.js"></script>
    <script src="js/fastclick.min.js"></script>
</body>
    <script src="js/LCalendar.js" type="text/javascript" charset="utf-8"></script>
    <script src="js/index.js" type="text/javascript" charset="utf-8"></script>
    <script>
        $(function () {
            FastClick.attach(document.body);
        });

        window.onload = function (event) {
            location.hash = 'gdlr1';
            $("#gdlr1").show();
            $("#gdlr2").hide();
            $("#gdlr3").hide();
            $('.gdlb_sx').show();
            $('.qksp_btn-bg').hide();
        }

        $(window).on('hashchange', function (e) {
            var id = location.hash.substr(1);
            // $(".main").hide()
            $("#" + id).show()

            if (id == "gdlr1") {
                $("#gdlr1").show();
                $("#gdlr2").hide();
                $("#gdlr3").hide();
                $('.gdlb_sx').show();
                $('.qksp_btn-bg').hide();
                $('.ym-tit').html('请款列表');
            } else if (id == "gdlr2") {
                $("#gdlr1").hide();
                $("#gdlr2").show();
                $("#gdlr3").hide();
                $('.gdlb_sx').show();
                $('.qksp_btn-bg').hide();
                $('.ym-tit').html('请款列表筛选');
            } else if (id == "gdlr3") {
                $("#gdlr1").hide();
                $("#gdlr2").hide();
                $("#gdlr3").show();
                $('.gdlb_sx').hide();
                $('.qksp_btn-bg').show();
                $('.ym-tit').html('请款详情');
            }
        })

        $('.khx2_search-btn').click(function () {
            location.hash = 'gdlr1';
            $("#gdlr1").show();
            $("#gdlr2").hide();
            $('.gdlb_sx').show();
            $('.qksp_btn-bg').hide();
            $('.ym-tit').html('请款列表');
        })
        $('.gdlb_sx').click(function () {
            location.hash = 'gdlr2';
            $("#gdlr1").hide();
            $("#gdlr2").show();
            $("#gdlr3").hide();
            $('.gdlb_sx').show();
            $('.qksp_btn-bg').hide();
            $('.ym-tit').html('请款列表筛选');
        })
        $('.cw_qkgl').click(function(){
            location.hash = 'gdlr3';
            $("#gdlr1").hide();
            $("#gdlr2").hide();
            $("#gdlr3").show();
            $('.gdlb_sx').hide();
            $('.qksp_btn-bg').show();
            $('.ym-tit').html('请款详情');
        })


    </script>
    <script type="text/javascript">
        var calendar = new LCalendar();
        calendar.init({
            'trigger': '#start_date', //标签id
            'type': 'date', //date 调出日期选择 datetime 调出日期时间选择 time 调出时间选择 ym 调出年月选择,
            'minDate': (new Date().getFullYear() - 3) + '-' + 1 + '-' + 1, //最小日期
            'maxDate': (new Date().getFullYear() + 3) + '-' + 12 + '-' + 31 //最大日期
        });

        var calendar = new LCalendar();
        calendar.init({
            'trigger': '#end_date', //标签id
            'type': 'date', //date 调出日期选择 datetime 调出日期时间选择 time 调出时间选择 ym 调出年月选择,
            'minDate': (new Date().getFullYear() - 3) + '-' + 1 + '-' + 1, //最小日期
            'maxDate': (new Date().getFullYear() + 3) + '-' + 12 + '-' + 31 //最大日期
        });
        		//		$(function() {
        		//			$('#start_date').date();
        		//			$('#end_date').date();
                //		});

    </script>
</html>